package org.hxyjs.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Advertisingrecord;
import org.hxyjs.entity.AdvertisingrecordExample;

public interface AdvertisingrecordMapper {
    long countByExample(AdvertisingrecordExample example);

    int deleteByExample(AdvertisingrecordExample example);

    int deleteByPrimaryKey(String adrdno);

    int insert(Advertisingrecord record);

    int insertSelective(Advertisingrecord record);

    List<Advertisingrecord> selectByExample(AdvertisingrecordExample example);

    Advertisingrecord selectByPrimaryKey(String adrdno);

    int updateByExampleSelective(@Param("record") Advertisingrecord record, @Param("example") AdvertisingrecordExample example);

    int updateByExample(@Param("record") Advertisingrecord record, @Param("example") AdvertisingrecordExample example);

    int updateByPrimaryKeySelective(Advertisingrecord record);

    int updateByPrimaryKey(Advertisingrecord record);
}